//
//  DatabaseTool.h
//  豆瓣
//
//  Created by dllo on 16/3/29.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "CWCDataModel.h"
@interface DatabaseTool : NSObject
{
    sqlite3 *sqlite;
}
+ (instancetype)shareDatabaseTool;
@property(nonatomic, copy)NSString *title;
@property(nonatomic, copy)NSString *id;
-(void)creatDatabase;
- (void)creatTable;
-(int)inserReading:(CWCDataModel *)read;
-(int)deleteReading:(CWCDataModel *)read;
- (NSMutableArray *)selectAllreading;











@end
